<?php

include_once('shellConfig.php');

//数据库升级
$db = Factory::getDB('auto_info');
$sql = "ALTER TABLE  `auto_info` CHANGE  `auto_zip`  `auto_zip` VARCHAR( 30 ) NOT NULL;ALTER TABLE  `auto_info` ADD  `yingyun_no` VARCHAR( 50 ) NOT NULL AFTER  `auto_contract` ,
ADD  `yingyun_time` VARCHAR( 50 ) NOT NULL AFTER  `yingyun_no`;";

$rs = $db->query($sql);
print_r($rs);